package com.itlong.cloud.user.operate;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * <desc>
 * XXXXXXXXX。
 * </desc>
 *
 * @createDate 2017/9/4
 */
@FeignClient(name = "user-service")
public interface IOperatePersonClient {
    /**
     * <desc>
     *      DEMO示例。
     * <desc/>
     * @param  name 名称
     * @return Service
     * @author Wenchao.L
     * @createDate 2017/08/29
     */
    @RequestMapping(path = "/userSayHello2/{name}", method = {RequestMethod.GET})
    String userSayHello2(@PathVariable(value = "name") String name);
}
